home *** CD-ROM | disk | FTP | other *** search
/ Plug-In Power Pack for Netscape Communicator / Plug-In Power Pack for Netscape Communicator.iso / plugins / dataviews / dvtools / demos / dwpdemo / makefile < prev    next >
Makefile  |  1997-05-08  |  718b  |  35 lines

  1. include <dvwin32.mak>
  2.  
  3. # Comment out the next line to disable double buffering.
  4. CFLAGS = $(CFLAGS) -DDOUBLE_BUFFER
  5.  
  6.  
  7. DWPOBJ = dwp_data.obj     dwp_dsp.obj      dwp_dyn.obj    \
  8.          dwp_events.obj   dwp_main.obj     dwp_model.obj  \
  9.          dwp_rebind.obj   dwp_vars.obj
  10.  
  11. RESSRC = dwp.rc
  12. !IF "$(CPU)"=="ALPHA"
  13. RESOURCE_OBJS = dwpr.obj
  14. !ELSE
  15. RESOURCE_OBJS = dwp.res
  16. !ENDIF
  17.  
  18.  
  19. dwpdemo.exe: $(DWPOBJ) $(RESOURCE_OBJS)
  20.     $(LINK) $(LINKFLAGS) \
  21.         $(DV_LIBS) \
  22.         $(DWPOBJ) $(RESOURCE_OBJS) -out:dwpdemo.exe
  23.  
  24. .c.obj:
  25.     $(CC) $(INCDIRS) $(CFLAGS) $<
  26.  
  27. dwp.res: $(RESSRC)
  28.         rc -r $(RESSRC)
  29.  
  30. dwpr.obj : $(RESSRC)
  31.         rc -r dwp.rc
  32.                 cvtres -alpha dwp.res -o dwpr.obj 
  33.  
  34.  
  35.